package day20171101;

/**
 * Created by Administrator on 2017-11-1.
 */
public class StringTest {
    public static void main(String[] args) {

//
//        String hello = "    hello,world!  ";
//
//        System.out.println(hello.trim());



        StringBuffer buffer = new StringBuffer();
        buffer.append("hello");
        buffer.append(",");
        buffer.append("word!");

        System.out.println(buffer.toString());




    }
}
